|
Error using
getFontList() action
Product: |
Flash |
Platform: |
All |
Versions: |
MX |
ID: |
16310 |
|
Issue
When using the getFontList() action to create
an array of available fonts, the output window displays an error stating
the array is undefined.
Reason
Most of these errors
are caused by TextField.getFontList()
not being associated with a TextField Object.
Solution The correct syntax to
create an array of available system fonts is:
myArray
= newArray(); newArray = TextField.getFontList().
Note the
addtion of the TextField object container.
Last updated: |
January
17, 2003 |
Keywords: |
font,
array, undefined, getFontList, list |
Created: |
May 14,
2002 | |